
export interface Response<T>{
    code:number,
    message:string,
    data:T
}
export interface ISlider {
    url: string
}
export interface LessonList {
    title: string,
    video: string,
    poster: string,
    price: string,
    category?: string
}
export interface ILessons {
    hasMore: boolean,
    loading: boolean,
    offset: number,
    limit: number,
    list: LessonList[]
}
export interface IHomeState {
    CurrentCategory: CATEGORY_TYPES,
    slides: ISlider[],
    lessons: ILessons
}
export enum CATEGORY_TYPES{
    ALL,
    REACT,
    VUE,
    NODE
}